#!/usr/local/bin/python
# -*- coding: utf-8 -*-
from django.contrib import admin
from models import *

class RessourceManagerAdmin(admin.ModelAdmin):
    pass
admin.site.register(RessourceManager, RessourceManagerAdmin)

class RessourceAdmin(admin.ModelAdmin):
    list_display_links = ('ref',)
    search_fields = ('ref', 'item__label')
    list_display=('selec_link', 'ref', 'reserver_link', 'item')
admin.site.register(Ressource, RessourceAdmin)
